import request from '@/utils/request'

export default {
  // 更新授权
  update(data) {
    return request({
      url: `/v1/shop/temu-b/auth-update`,
      method: 'post',
      data
    })
  },
  // 授权详情
  detail(params) {
    return request({
      url: `/v1/shop/temu-b/auth-detail`,
      method: 'get',
      params
    })
  },
}
